# -*- coding: utf-8 -*-

lista = ['a', 'b', 'c']
it = iter(lista)

print it

x1 = it.next()
print x1

x2 = it.next()
print x2

x3 = it.next()
print x3

lista = ['a', 'b', 'c', 'd', 'e']
it = iter(lista)
x = it.next()
while it:
    print x
    x = it.next()
